type golang.org/x/sync/singleflight.call
7 uses
golang.org/x/sync/singleflight (current package)
singleflight.go#L56: type call struct {
singleflight.go#L75: m map[string]*call // lazily initialized
singleflight.go#L94: g.m = make(map[string]*call)
singleflight.go#L108: c := new(call)
singleflight.go#L125: g.m = make(map[string]*call)
singleflight.go#L133: c := &call{chans: []chan<- Result{ch}}
singleflight.go#L144: func (g *Group) doCall(c *call, key string, fn func() (any, error)) {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |